<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<title>场地管理模块</title>
		<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
		<link rel="stylesheet" type="text/css" href="../css/bootstrapValidator.css"/>
		<link rel="stylesheet" type="text/css" href="../css/place-manager.css"/>
	</head>
	<body>
		<!--导航条开始-->
		<nav class="navbar navbar-default navbar-fixed-top">
			<div class="container">
				<div class="navbar-header">
					<a class="navbar-brand" href="#"><img src="../img/logo.png" alt="logo"/></a>
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse">
						<!--<span class="sr-only">切换导航</span>-->
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
				</div>
				<div class="collapse navbar-collapse" id="navbar-collapse">
					<ul class="nav navbar-nav navbar-left">
						<li class="active"><a href="place-manager.html"><span class="glyphicon glyphicon-home"></span> 场地管理 </a></li>
						<li><a href="checkPlace.html">审核订单</a></li>		
					</ul>
						<p class="navbar-text navbar-right"><a class="navbar-link" data-toggle="modal"href="#changePassword">修改密码</a></p>
				</div>
			</div>
		</nav>
		<!--导航条结束-->
		
		<!--内容一开始-->
		<div class="eq-tab1">
			<div class="container">
				<h2 class="eq-tab1-h2">体育馆场地情况</h2>
				<form class="form-inline eq-tab1-form">
					<div class="form-group">
						<label class=" control-label">查询器材:</label>
						<input class="form-control" type="text" name="equipmentName" id="equipmentName"placeholder="例如：篮球场" />
						<input class=" btn btn-success" id="search-place" type="button" value="查询"/>
						<input class=" btn btn-danger" id="add-place"  type="button" data-toggle="modal" data-target="#add-place-modal" value="增加场地"/>
						<!--<input class=" btn btn-success" id="refresh"  type="button"  value="刷新列表"/>-->
					</div>
				</form>
				
				
				
				<div class="place-table">
					<table class="table table-bordered table-hover">
					<tr>
						<th class="text-center">场地编号</th>
						<th class="text-center">场地名称</th>
						<th class="text-center">场地费用</th>
						<th class="text-center">修改场地</th>
						<th class="text-center">删除场地</th>
					</tr>
				</table>
				</div>
					
			</div>
		</div>
		<!--内容一结束-->
		<!--<a title="changeA" href="#">aaa</a>-->
		
		
		
		
		<!--底部footer开始-->
		<footer id="footer" class="text-muted bottom">
			<div class="containe">
				<p>管理系统 | 合作联系</p>
				<p>503工作室.体育光管理系统。Powered by Bootstrap</p>
			</div>
		</footer>
		<!--底部footer结束-->
		
		
		<!--器材增加模态框开始-->
		<div class="modal" id="add-place-modal" tabindex="-1">
        	<div class="modal-dialog">
        		<div class="modal-content">
        			<div class="modal-header">
        				<button type="button" class="close" data-dismiss="modal">
        					<span>&times;</span>
        				</button>
        				<h4 class="modal-title">增加场地</h4>
        			</div>
        			<div class="modal-body">
        				<form class="form-group" id="add-place-form">
							<div class="form-group">
								<label for="placeName">场地名称:</label>
								<input type="text" name="placeName" class="form-control" id="placeName" placeholder="请输入场地名称" />
							</div>
							<div class="form-group">
								<label for="placeMoney">费用:</label>
								<input type="text" name="placeMoney" class="form-control" id="placeMoney" placeholder="请输入费用" />
							</div>
        				</form>
        			</div>
        			<div class="modal-footer">
        				<button type="button" class="btn btn-primary" id="add">增加</button>
        				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button></div>
        			</div>
        		</div>
        	</div>
       </div>
		<!--器材增加模态框结束-->
		
		<!--器材修改模态框开始-->
		<div class="modal" id="change-place-modal" tabindex="-1">
        	<div class="modal-dialog">
        		<div class="modal-content">
        			<div class="modal-header">
        				<button type="button" class="close" data-dismiss="modal">
        					<span>&times;</span>
        				</button>
        				<h4 class="modal-title">修改场地信息</h4>
        			</div>
        			<div class="modal-body">
        				<form class="form-group" id="change-place-form">
        					<div class="form-group">
								<label for="change-placeId">场地Id:</label>
								<input type="text" name="change-placeId" class="form-control" id="change-placeId" placeholder="请输入场地ID" />
							</div>
							<div class="form-group">
								<label for="change-placeName">场地名称:</label>
								<input type="text" name="chnage-placeName" class="form-control" id="change-placeName" placeholder="请输入场地名称" />
							</div>
							<div class="form-group">
								<label for="changge-Money">费用:</label>
								<input type="text" name="change-Money" class="form-control" id="change-Money" placeholder="请输入费用" />
							</div>
        				</form>
        			</div>
        			<div class="modal-footer">
        				<button type="button" class="btn btn-primary" id="change">修改</button>
        				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button></div>
        			</div>
        		</div>
        	</div>
       </div>
		<!--修改模态框结束-->
		
		
		<!--修改密码框结束-->	
		<div class="modal" id="changePassword" tabindex="-1">
        	<div class="modal-dialog">
        		<div class="modal-content">
        			<div class="modal-header">
        				<button type="button" class="close" data-dismiss="modal">
        					<span>&times;</span>
        				</button>
        				<h4 class="modal-title">密码修改</h4>
        			</div>
        			<div class="modal-body">
        				<form class="form-group" id="changePasswordModal">
        					<div class="form-group">
								<label for="oldPassword">新密码:</label>
								<input type="text" name="oldPassword" class="form-control" id="oldPassword" placeholder="请输入旧密码" />
							</div>
							<div class="form-group">
								<label for="changePassword">新密码:</label>
								<input type="text" name="changePassword" class="form-control" id="changePassword" placeholder="请输入新密码" />
							</div>
							<div class="form-group">
								<label for="repChangePassword">确认新密码:</label>
								<input type="text" name="repChangePassword" class="form-control" id="repChangePassword" placeholder="再输入一次密码" />
							</div>
        				</form>
        			</div>
        			<div class="modal-footer">
        				<button type="button" class="btn btn-primary" id="changPasswordBtn">确认</button>
        				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button></div>
        			</div>
        		</div>
        	</div>
      </div>
		
		
		
		<script src="../js/jquery-3.2.1.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/bootstrapValidator.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/place-manager.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
